
html,body{height: 100%;}

header{
    .header_top {
        height: 36px;
        width: 1240px;
       
        margin: 0 auto;
     p {
         line-height: 36px;
         font-size: 12px;
     }
     .follow_us {float: left; overflow: hidden;color: #7f7f7f; width: 165px;
             span {float: left;}
             a {display: inline-block; width: 24px;height: 36px; margin: 0 5px 0 10px; float: left;}
             .icon_weibo {background: url(../image/icon_weibo.jpg) no-repeat center;}
             .icon_baidu {background: url(../image/icon_baidu.jpg) no-repeat center;}
             .icon_weixin {background: url(../image/icon_weixin.jpg) no-repeat center;}
         }
     .head_link {overflow: hidden;color: #7f7f7f; float: right;
         a {float: none; width: auto; margin: 0 10px;}
     }
    }
 
    .head_center {
        clear: both;
        width: 1240px;
        overflow: hidden;
        margin: 0 auto;
        .logo {background: url(../image/logo.jpg); float: left; width:254px;height: 62px; margin-top: 24px; margin-bottom: 23px; display: block;}
        .head_center_sou {overflow: hidden;width:560px;padding-left: 140px;
         .search {display: inline-block;float: left;overflow: hidden; width: auto;margin-top: 28px; padding-right: 8px; text-align: left; color: #999;vertical-align:top;
             .txtSearch {width: 364px;min-width: 130px;height: 38px;line-height: 38px;border: 1px solid #ccc;text-indent: 8px;font-size: 12px;border-right: 0;outline: none; vertical-align: top;}
             #btnSearch {width: 40px;height: 40px;border: 1px solid #ccc;margin-left: -1px;background: url(../image/icon_search.jpg) no-repeat center; }
            
         }
         .shopcart {
             display: inline-block;
             float: left;
             margin-top: 28px;
             overflow: hidden;
             width: 138px;
             height: 38px;
             border: 1px solid #ccc;
             line-height: 21px;
             a {display: block;
                 padding-left: 44px;
                 color: #666;
                 font-size: 16px;
                 line-height: 38px;
                 text-align: left;
                 background: url(../image/car.jpg) no-repeat 7px center;
                 span {    display: inline-block;
                     float: right;
                     color: #d61818;
                     font-size: 16px;
                     width: 34px;
                     height: 23px;
                     line-height: 23px;
                     text-align: center;
                     margin-top: 7px;
                     border-left: 1px solid #ccc;}
             }
         }
         }
     }
     
     .head_nav {
         width: 100%;
         height: 46px;
         background: #d61818;
         text-align: center;
         .nav {width: 1240px; height: 46px; margin: 0 auto;
             >li {float: left; line-height: 44px; &:hover {background: #f33c11;}
             >a { display: block;font-size: 18px; font-weight: bold;line-height: 45px;padding: 0 35px 0 36px;color: #fff;
             } }
             .first_li {background: #f33c11; width: 252px; i{display: inline-block;width: 18px; height: 18px; background: url(../image/xiajian.png) no-repeat center; vertical-align: middle;margin-left: 8px; }
             .all {width: 1240px;height: 500px;position: absolute;z-index: 999;
                 ul {
                     width: 252px;
                     height: 500px;
                     background: #f33c11;
                     
                     li {
                         height: 62.5px; line-height: 62.5px;
                         width: 252px;
                         float: none;
                         a {
                             display: block;
                             color: #fff;
                             font-size: 18px;
                         }
                         .fenlei {
                             display: none;
                             position: absolute;
                             left: 20%;
                             top: 0;
                             width: 976px;
                             height: 480px;
                             background: #fff;
                             
                             dl {
                                 float: left;
                                 width: 150px;
                                 margin: 0 5px;
                                 margin-top: 20px;
                                 img {
                                     width: 148px;
                                     height: 148px;
                                     border: 1px #ccc solid;
                                 }
                                 dd {
                                     h2{font-size: 18px;color: #fff;background: #415695;height: 35px;line-height: 35px;}
                                     h3 {font-size: 16px; height: 48px;line-height: 48px; color: #000;}
                                     p {font-size: 14px; height: 30px;line-height: 30px; color: #000;}
                                 }
                             }
                         }
                     }
                 }
                 }
         }
         }
     }
 }


.main {
    .main-in {
        width: 1240px;
        min-height: 350px;
        margin: 0 auto;
        text-align: left;
        .title {
            font-size: 14px;
            line-height: 28px;
            height: 28px;
            margin: 30 0;
        }
        .detail {
            overflow: hidden;
            >h2 {
                font-size: 20px;
                color: #333;
                line-height: 32px;
                margin-top: -6px;
                margin-bottom: 10px;
            }
            >p {
                line-height: 25px;
                font-size: 14px;
            }
            .detail-pic {
                float: left;
                width: 478px;
                height: 689px;
                margin-right: 40px;
                // border: 1px #000 solid;
                img {width: 450px; height: 450px;}
            }
            .detail-inf {
                float: left;
                width: 599px;
                overflow: hidden;
                
                
                .price {
                    padding-left: 17px;
                    height: 103px;
                    
                    >span {font-size: 14px;}
                    >i {font-size: 42px; color: #f33c11; line-height: 103px;}
                    .content {
                        float: right;
                        width: 137px;
                        border-left: 1px #ccc solid;
                        height: 103px;
                        p {line-height: 29px;
                            padding-top: 8px;
                            font-size: 14px;
                            padding-left: 10px;
                        }
                        
                    }
                }
                dl {
                    margin: 10px 0;
                    overflow: hidden;
                    min-height: 32px;
                    dt{float: left;font-size: 14px;line-height: 30px;width: 76px;}
                    dd {
                        float: left;
                        width: 523px;
                        ul {
                            li {float: left;border: 1px #ccc solid;margin: 0 9px 9px 0;a {display: block;height: 30px;line-height: 30px;padding: 0 7px;}}
                        }
                        
                    }
                }
                .number {
                    input {width: 35px; height: 35px;border: 1px #ccc solid; text-align: center;margin-right: 10px;}
                    span {
                        width: 15px;
                        // display: inline-block;
                        vertical-align: middle;
                        i {display: inline-block;width: 14px;height: 14px; border: 1px #ccc solid;}
                    }    
                }
                .promise {
                    span {
                        display: inline-block;
                        height: 33px;
                        line-height: 33px;
                        padding-left: 34px;
                        margin: 0 30px 9px 0;
                    }
                }
                .buy {
                    dd {
                        >button {width: 160px;height: 41px; color: #fff; border: none;outline: none;border-radius: 5px;margin-right: 20px;font-size: 16px;text-indent: 46px;}
                    }
                }
            }
        }
    }
}

.main {
    ul {
        overflow: hidden;
        width: 1240px;

        li {
            
            dt {
                float: left;
                width: 100px;
                img {width: 100%;}
            }
            dd {
                float: left;
            }
        }
    }
}


footer {
    .footer1 {
        width: 1240px;
        margin: 0 auto;
        background: #f2f2f2;
        .foot_top {
            ul {
                overflow: hidden;
                width: 100%;
                height: 156px;
                border-bottom: 1px #ccc solid;
                text-align: center;
                li {
                    float: left;
                    width: 20%;
                    overflow: hidden;
                    img {
                        width: 50px;
                        height: 50px;
                        margin: 0 auto;
                        margin-top: 30px;
                    }
                    p {
                        font-size: 18px;
                        margin:25px 0 35px;
                    }
                }
            }
        }

        .foot_center {
            >ul {
                overflow: hidden;
                width: 100%;
                margin-top: 40px;
                >li{
                    float: left;
                    width: 14.3%;
                    h2 {
                        font-size: 18px;
                        font-weight: bolder;
                        line-height: 1;
                        background: url(http://www.hasee.net/images/icon2.png) no-repeat left 0;
                        padding-left: 20px;
                        margin-bottom: 14px;
                        }
                        >ul {
                            padding-left: 20px;
                            li {
                                font-size: 14px;
                                line-height: 30px;
                            }
                            
                        }
                }
                .number {
                    width: 28%;
                    p {
                        font-size: 12px;
                        line-height: 34px;
                        span {font-size: 18px;margin-left: 5px;font-weight: bold;}
                    }
                }
            }
        }

        .foot_bottom {
            font-size: 14px;
            text-align: left;
            line-height: 1;
            color: #999;
            margin-top: 50px;
            background: #fff;
            a {color: #666; padding: 0 10px;}
            p {
                display: inline;
                color: #666;
            }
        }
    }
}